<html>
<head>
 <style type="text/css">
/* <![CDATA[ */ 
@import "http://www.tigris.org/branding/css/tigris.css"; 
@import "http://www.tigris.org/branding/css/inst.css"; 
/*  ]]> */
 </style>
  <link rel="stylesheet" type="text/css" href="http://www.tigris.org/branding/css/print.css" media="print" />
<script src="http://www.tigris.org/branding/scripts/tigris.js" type="text/javascript">
</script>
 <title>SubEthaSMTP Wiser</title>
</head>
<body>
	<h2>SubEthaSMTP Wiser</h2>
	
	<p>
	Wiser is a smart replacement for <a href="http://quintanasoft.com/dumbster/">Dumbster</a>.
	</p>

	<p>
	A few benefits of Wiser over Dumbster are:
	</p>
	
	<ul>
	<li>Very simple to use</li>
	<li>Works properly with MacOS X</li>
	<li>Uses the JavaMail API</li>
	<li>Works properly with Unicode characters. Confirmed by lots of Japanese 
		Wiser users.</li>
	</ul>
	
	<h2>How To Use It</h2>
	
	<p>
	Include commons-logging.jar, subetha-wiser.jar, subetha-smtp.jar 
	and JavaMail (mail.jar/activation.jar) in your classpath.
	</p>
	
	<p>
		Using Wiser is trivial:
	</p>
	
<pre>
Wiser wiser = new Wiser();
wiser.setPort(2500); // Default is 25
wiser.start();
</pre>
	
	<p>
	Now, use a mail client to send email to your Wiser server. To get your JavaMail messages
	out of the Wiser server, just use this code:
	</p>

<pre>
for (WiserMessage message : wiser.getMessages())
{
	String envelopeSender = message.getEnvelopeSender();
	String envelopeReceiver = message.getEnvelopeReceiver();

	MimeMessage mess = message.getMimeMessage();

	// now do something fun!
}
</pre>

	<p>
	It really doesn't get more simple than that! =)
	</p>
</body>
</html>
